<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>CSS三大特性</title>
</head>
<style>
  div{
    /*01演示继承*/
    color: red;
  }p{
     /*02演示重叠*/
    background-color: blue;
     /*03演示元素优先级-1*/
       color: blanchedalmond;
     }
   #p{
     /*04 演示元素优先级-2*/
     color: firebrick !important;/* 最高级*/

   }
</style>
<body>
<div>
<!--  05 演示元素优先级-3-->
  <p  id="p" style="color:#000;">
    p
  </p>
  <span>span</span>
  <a href="">超链接</a>
</div>
</body>
</html>